<div md-dialog-title fxLayout="row" fxLayoutAlign="space-between center" class="dlgheader">
  <span>{{dlgTitle}}</span>
  <button md-dialog-close md-icon-button tabindex="-1"><md-icon>close</md-icon></button>
</div>
<form #locForm="ngForm" (ngSubmit)="onSubmit()">
  <div md-dialog-content class="dlgbody">
    <table class="full-width" cellspacing="0">
      <tr>
        <td>
          <md-input-container class="full-width">
            <input mdInput placeholder="医生姓名" name="name" [(ngModel)]="doctor.name" tabindex="1" required />
          </md-input-container>
        </td>
        <td>
          <md-input-container class="full-width">
            <input mdInput placeholder="电话" name="worktel" [(ngModel)]="doctor.worktel" tabindex="2" required/>
          </md-input-container>
        </td>
      </tr>
      <tr>
        <td>
          <md-input-container class="full-width">
            <input mdInput placeholder="住址" name="homeaddress" [(ngModel)]="doctor.homeaddress" tabindex="3" />
          </md-input-container>
        </td>
        <td>
          <md-input-container class="full-width">
            <input mdInput placeholder="住址GPS编码" name="homegps" [(ngModel)]="doctor.homegps" tabindex="4" />
          </md-input-container>
        </td>
      </tr>
       <tr>
        <td>
					<md-select placeholder="所属医院" class="full-width" name="hid" [(ngModel)]="doctor.hid">
				 		<md-option value="11">
				 			11
				 		</md-option>
						<md-option value="22">
							22
						</md-option>
					</md-select>
        </td>
        <td>
	         <md-input-container class="full-width">
	         	 <input mdInput placeholder="服务时间" name="servicetime" [(ngModel)]="doctor.servicetime" tabindex="6" required/>
          </md-input-container>
        </td>
      </tr>
      <tr>
	      <md-radio-group name="dtype" [(ngModel)]="doctor.dtype">
	  			<md-radio-button value="doctor">doctor</md-radio-button>
	  			<md-radio-button value="nurse">nurse</md-radio-button>
				</md-radio-group>
			</tr>
      <tr>
        <td colspan="2">
          <md-input-container class="full-width">
            <textarea mdInput placeholder="医生简介" rows="3" name="introduction" [(ngModel)]="doctor.introduction" tabindex="7" required></textarea>
          </md-input-container>
        </td>
      </tr>
    </table>
  </div>
  <div md-dialog-actions fxLayout="row" fxLayoutAlign="end center" fxLayoutGap="20px" class="dlgfooter">
    <button type="submit" md-raised-button color="primary"  tabindex="10" [disabled]="!locForm.valid">Save</button>
    <button md-button md-dialog-close  tabindex="11">Cancel</button>
  </div>
</form>
